import { GlobalStore } from "@/stores";
import logo from "@/assets/images/logo.png";

/**
 * @description 获取本地时间
 */
export const sysTitle = () => {
	return GlobalStore().systemName || import.meta.env.VITE_GLOB_APP_TITLE;
};
export const sysLogo = () => {
	return GlobalStore().themeConfig.logo == logo ? logo : `/api/file/download/${GlobalStore().themeConfig.logo}`;
};
